import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

public class into {
    public static void main(String[] args) {
        Connection connection = null;
        Statement statement = null;
        try {
            connection = DbUtil.getConnection();
            statement = connection.createStatement();
            String sql = "insert into user values(3,'yxh','yxh123',10000)";
            int i = statement.executeUpdate(sql);
            System.out.println("受影响行数：" + i);
        } catch (SQLException e) {
            e.printStackTrace();
        } finally {
            DbUtil.close(null, statement, connection);
        }
    }
}